﻿class Student(name: String, val school: String) : Person(name),Study {

    /**
     * 次构造函数 必须 调用主构造函数
     */
    public constructor():this("尚未录取","投报志愿中")
    
    fun learn() = println(name + "在" + school + "上学")
    
    override fun doHomework()= println(name+"正在做作业")

    override fun readBooks(bookName: String) = println(name+"正在读"+bookName)
}